package cn.ml.web1662.web.listener;

import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionBindingListener;

public class MySessionBindingListener implements HttpSessionBindingListener {
    @Override
    public void valueBound(HttpSessionBindingEvent event) {
        System.out.println("来了");
    }

    @Override
    public void valueUnbound(HttpSessionBindingEvent event) {
        System.out.println("走了");
    }
}
